<div id="feedback-form" class="global-popup">
    <div class="global-popup__description feedback-form">
        <div class="global-popup__description__inner">
            <span class="global-popup__close">
                <span>Закрыть</span>
            </span>
            <h2 class="global-small-title">Оставить отзыв</h2>
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'review-form',
                'enableClientValidation' => true,
                'clientOptions' => array(
                    'validateOnSubmit' => true,
                ),
            ));
            ?>
            <div style="display: none">
                <?php echo $form->error($model, 'email'); ?>
                <?php echo $form->error($model, 'fullName'); ?>
                <?php echo $form->error($model, 'msg'); ?>
                <?php echo $form->error($model, 'rating'); ?>
            </div>
            <fieldset>
                <ul class="form-list">
                    <li>
                        <label for="initials">Ф.И.О</label>
                        <div class="type-text">
                            <?php echo $form->textField($model, 'fullName'); ?>
                        </div>
                    </li>
                    <li>
                        <label for="Email">Email</label>
                        <div class="type-text">
                            <?php echo $form->textField($model, 'email'); ?>                            
                        </div>
                    </li>    
                </ul>  
            </fieldset>
            <fieldset>
                <label for="text">Текст сообщения</label>
                <div class="textarea">
                    <?php echo $form->textArea($model, 'msg', array('rows' => 10, 'cols' => 45)); ?>                    
                </div>  
            </fieldset>
            <fieldset>
                <dl class="your-score">
                    <dt>Ваша оценка:</dt>
                    <dd>
                        <?php
                        $this->widget('CStarRating', array(
                            'model' => $model,
                            'attribute' => 'rating',                            
                            'minRating' => 1,
                            'maxRating' => 5,
                            'value' => 5,
                            'readOnly' => false,
                        ));
                        ?>
                    </dd>
                </dl>
                <input class="type-submit-bt" type="submit" value="Опубликовать" />
            </fieldset>
            <?php $this->endWidget(); ?>
        </div>  
    </div>
    <div class="global-popup__popup-overlay">&nbsp;</div>
</div>